"A click on the sprite makes the playback head jump to a chosen marker in the same movie. " & \
"You can choose between the previous marker, the next marker, or any named marker in the movie." & RETURN & RETURN & \
"If more than one marker has the same name as the chosen marker, the playback head will jump to the first marker with that name in the movie. " & \
"If you need to use duplicate names, try adding a different number of spaces at the end of each, so that they appear the same but are in fact different." & RETURN & RETURN & \
"This behavior is designed for use with the Jump Back Button. " & \
"You can set it to record the frame number of the current marker so that the Jump Back Button can subsequently return. " & \
"Note: This feature relies on a global variable: gNavigationButtonList." & RETURN & RETURN & \
"Use the Jump to Movie Button behavior to jump to a marker in a different movie." & RETURN & RETURN & \
"PERMITTED MEMBER TYPES:" & RETURN & \
"Graphic members" & RETURN & RETURN & \
"PARAMETERS:" & RETURN & \
"* Jump to marker in this movie" & RETURN & \
"* 'Go to' or 'Play and return'?" & RETURN & \
"* Remember current marker for Back button" & RETURN & RETURN & \
"Select Remember Current Marker for Back Button to ensure that the behavior 'remembers' which markers have already been visited." & RETURN & RETURN & \
"Use the associated Jump Back Button behavior on a separate sprite to return to visited markers in reverse order." & RETURN & RETURN & \
"ASSOCIATED BEHAVIORS:" & RETURN & \
"* Jump to Movie button" & RETURN & \
"* Jump Back Button" & RETURN & \
"* Jump Forward Button" & RETURN & \
"* Push Button (to alter rollover / mouseDown states)"
end getBehaviorDescription
on getBehaviorTooltip me
return \
"Use with graphic members." & RETURN & RETURN & \
"When you drop this behavior on a sprite, you can choose which marker in the current movie to jump to on mouseUp. " & \
"You can also choose to jump to the next or the previous marker." & RETURN & RETURN & \
"Use this behavior with the Jump Back Button to allow the user to return to visited sequences."
end getBehaviorTooltip
-- NOTES FOR DEVELOPERS --
-- The main handler is Jump, which is triggered by mouseUp. The Initiialize
-- handler runs a series of error-checks. These will alert designers
-- in any of the following cases:
-- * if the chosen marker has been deleted or renamed
-- * if more than one marker has the same name as the chosen marker
-- * if the global gNavigationButtonList does not have a valid structure
-- USE OF 'BACK/FORWARD BUTTON' BEHAVIORS
--
-- This behavior is designed to be use in collaboration with 'Jump Back' and
-- 'Jump Forward' buttons so that users can retrace their steps.
--
-- Information about what markers have already been visited is stored in a
-- global variable: gNavigationButtonList. As a global, this variable is
-- available to all navigation behaviors, on any sprite in any movie.
--
-- gNavigationButtonList has the following structure: